﻿using Mbs.ComponentModel.Container.Context;
using Mbs.ComponentModel.Container.Metadata;

namespace Mbs.ComponentModel.Container.Proxy
{
    public interface IProxyFactory
    {
        object Create(ICreateContext ctx, object instance);
        bool RequiresTargetInstance(IKernel kernel, IComponentInfo model);
        bool ShouldCreateProxy(IComponentInfo model);
    }
}
